package com.ruoyi.manage.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 手术事件对象 event_surgery
 * 
 * @author zww
 * @date 2025-07-01
 */
public class EventSurgery extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增ID */
    private Long eventSurgeryId;

    /** event_manage表ID */
    @Excel(name = "event_manage表ID")
    private Long eventId;

    /** surgery_plan表ID */
    @Excel(name = "surgery_plan表ID")
    private Long surgeryId;

    /** 事件名 */
    @Excel(name = "事件名")
    private String eventName;

    /** 开始时间 */
    @Excel(name = "开始时间")
    private String startTime;

    /** 结束时间 */
    @Excel(name = "结束时间")
    private String endTime;

    /** 事件包ID */
    @Excel(name = "事件包ID")
    private Long packageId;

    /** 0启用1禁用 */
    @Excel(name = "0启用1禁用")
    private String status;

    /** 0正常1删除 */
    private String delFlag;

    /** 手术事件详情信息 */
    private List<EventSurgeryDetail> eventSurgeryDetailList;

    public void setEventSurgeryId(Long eventSurgeryId) 
    {
        this.eventSurgeryId = eventSurgeryId;
    }

    public Long getEventSurgeryId() 
    {
        return eventSurgeryId;
    }

    public void setEventId(Long eventId) 
    {
        this.eventId = eventId;
    }

    public Long getEventId() 
    {
        return eventId;
    }

    public void setSurgeryId(Long surgeryId) 
    {
        this.surgeryId = surgeryId;
    }

    public Long getSurgeryId() 
    {
        return surgeryId;
    }

    public void setEventName(String eventName) 
    {
        this.eventName = eventName;
    }

    public String getEventName() 
    {
        return eventName;
    }

    public void setStartTime(String startTime) 
    {
        this.startTime = startTime;
    }

    public String getStartTime() 
    {
        return startTime;
    }

    public void setEndTime(String endTime) 
    {
        this.endTime = endTime;
    }

    public String getEndTime() 
    {
        return endTime;
    }

    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    public List<EventSurgeryDetail> getEventSurgeryDetailList()
    {
        return eventSurgeryDetailList;
    }

    public void setEventSurgeryDetailList(List<EventSurgeryDetail> eventSurgeryDetailList)
    {
        this.eventSurgeryDetailList = eventSurgeryDetailList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("eventSurgeryId", getEventSurgeryId())
            .append("eventId", getEventId())
            .append("surgeryId", getSurgeryId())
            .append("eventName", getEventName())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("packageId", getPackageId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("eventSurgeryDetailList", getEventSurgeryDetailList())
            .toString();
    }
}
